package com.yb.guigu.pick.auth.bean.vo.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/28 19:48
 * FileName: LoginRequestVo
 * Description:
 */

@Data
public class ModifyPasswordRequest {


    @NotNull(message = "userId不能为空")
    private Integer userId;

    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;

    //              <el-radio label="1">BCrypt</el-radio>
    //              <el-radio label="2">MD5</el-radio>
    //              <el-radio label="3">sha1</el-radio>
    //              <el-radio label="4">sha256</el-radio>

    @NotEmpty(message = "加密方式encryptedType不能为空")
    private String encryptedType;//
}
